import React, { FC } from 'react'
import Recommend from '@/compents/Recommend'
import Category from '@/compents/Category'
import { Affix } from 'antd'
import ArticeList from '@/compents/articleList/Index'
import style from '../compent.module.scss'
const Index: FC = () => {
  return (
    <div className={style.con}>
      <div className={style.left}>
        <ArticeList />
      </div>
      <div className={style.right}>
        <Affix offsetTop={20}>
          <Recommend />
          <Category />
        </Affix>
      </div>
    </div>
  )
}

export default Index
